package com.tjresearch.redisdbtasktracker.service;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.tjresearch.redisdbtasktracker.dao.DataDao;
import com.tjresearch.redisdbtasktracker.pojo.ChartData;
import com.tjresearch.redisdbtasktracker.pojo.ItemInfo;

@Service
public class DataService {

	@Autowired
	private DataDao dao;

	public List<ChartData> getHighfreqData(Integer itemId) {
		return dao.getHighfreqData(itemId);
	}

	public List<ItemInfo> getHighfreqItem() {
		return dao.getHighfreqItem();
	}

	public String findAllIndusById(int i) {
		// TODO Auto-generated method stub
		return dao.findAllIndusById(i);
	}
	
	
}
